<%@ page contentType="text/html; charset=UTF-8" language="java“%>
<%@ page import="java.util.Date,java.util.Random">
<head>
      <title>第一个JSP页面</title>
</head>
<body>
  <%
    out.println(Math.random()+"<br>");
    Date now=new Date();
    out.println(now+"<br>");
    for（int i=1;i<=20;i++){
	if(i%2==0){
		out.println(i+"是偶数");
	}else{
		out.println(i);
	}
	out.println("<br>");
    }
	
	User user=new User();
	user.setName("xxx");
	out.println(user.getName());
	%>
  
   </body>
</html>
